<!--<script lang="ts">-->
<!--export default {-->
<!--  props: {-->
<!--    title: {-->
<!--      type: String,-->
<!--      default: () => {-->
<!--        return "测试信息";-->
<!--      }-->
<!--    },-->
<!--  },-->
<!--  setup(props: any) {-->
<!--    console.log(props.title);-->
<!--  }-->
<!--}-->
<!--</script>-->

<script setup lang="ts">
const props = defineProps({
  title:{
    type:String,
    default:()=>{return '测试信息2'}
  }
})

console.log(props.title);

</script>

<template>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
